﻿/*
 * Write a program that reads a year from the console and checks whether it is a leap. Use DateTime
 * */
using System;

class LeapYear
{
    static void Main(string[] args)
    {
        Console.WriteLine("Enter an year: ");

        int year = int.Parse(Console.ReadLine());

        if (DateTime.IsLeapYear(year))
        {
            Console.WriteLine("The year {0} is Leap year.", year);
        }
        else
        {
            Console.WriteLine("The year {0} is not Leap year.", year);
        }
    }
}

